84 research outputs found

    Path constraints in semistructured data

    Get PDF
    International audienceWe consider semistructured data as multirooted edge-labelled directed graphs, and path inclusion constraints on these graphs. A path inclusion constraint pnot precedes, equalsq is satisfied by a semistructured data if any node reached by the regular query p is also reached by the regular query q. In this paper, two problems are mainly studied: the implication problem and the problem of the existence of a finite exact model. - We give a new decision algorithm for the implication problem of a constraint pnot precedes, equalsq by a set of bounded path constraints pinot precedes, equalsui where p, q, and the pi's are regular path expressions and the ui's are words, improving in this particular case, the more general algorithms of S. Abiteboul and V. Vianu, and N. Alechina et al. In the case of a set of word equalities ui≡vi, we provide a more efficient decision algorithm for the implication of a word equality u≡v, improving the more general algorithm of P. Buneman et al. We prove that, in this case, implication for nondeterministic models is equivalent to implication for (complete) deterministic ones. - We introduce the notion of exact model: an exact model of a set of path constraints Click to view the MathML source satisfies the constraint pnot precedes, equalsq if and only if this constraint is implied by Click to view the MathML source. We prove that any set of constraints has an exact model and we give a decidable characterization of data which are exact models of bounded path inclusion constraints sets

    An adaptive multi-agent system for task reallocation in a MapReduce job

    Get PDF
    International audienceWe study the problem of task reallocation for load-balancing of MapReduce jobs in applications that process large datasets. In this context, we propose a novel strategy based on cooperative agents used to optimise the task scheduling in a single MapReduce job. The novelty of our strategy lies in the ability of agents to identify opportunities within a current unbalanced allocation, which in turn trigger concurrent and one-to-many negotiations amongst agents to locally reallocate some of the tasks within a job. Our contribution is that tasks are reallocated according to the proximity of the resources and they are performed in accordance to the capabilities of the nodes in which agents are situated. To evaluate the adaptivity and responsiveness of our approach, we implement a prototype test-bed and conduct a vast panel of experiments in a heterogeneous environment and by exploring varying hardware configurations. This extensive experimentation reveals that our strategy significantly improves the overall runtime over the classical Hadoop data processing

    Allocation équitable de tùches pour l'analyse de données massives

    Get PDF
    L'URL de l'ouvrage est la suivante:http://www.cepadues.com/livres/jfsma-2016-systemes-multi-agents-simulations-9782364935594.htmlInternational audienceMany companies are using MapReduce applications to process very large amounts of data. Static optimization of such applications is complex because they are based on user-defined operations, called map and reduce, which prevents some algebraic optimization. In order to optimize the task allocation, several systems collect data from previous runs and predict the performance doing job profiling. However they are not effective during the learning phase, or when a new type of job or data set appears. In this paper, we present an adaptive multiagent system for large data sets analysis with MapReduce. We do not preprocess data and we adopt a dynamic approach, where the reducer agents interact during the job. In order to decrease the workload of the most loaded reducer - and so the execution time - we propose a task re-allocation based on negotiation.De nombreuses entreprises utilisent l'application MapReduce pour le traitement de donnĂ©es massives. L'optimisation statique de telles applications est complexe car elles reposent sur des opĂ©rations dĂ©finies par l'utilisateur, appelĂ©es map et reduce, ce qui empĂȘche une optimisation algĂ©brique. Afin d'optimiser l'allocation des tĂąches, plusieurs systĂšmes collectent des donnĂ©es Ă  partir des exĂ©cutions prĂ©cĂ©dentes et prĂ©disent les performances en faisant une analyse de la tĂąche. Cependant, ces systĂšmes ne sont pas efficaces durant la phase d'apprentissage ou lorsqu'un nouveau type de tĂąches ou de donnĂ©es apparait. Dans ce papier, nous prĂ©sentons un systĂšme multi-agents adaptatif pour l'analyse de donnĂ©es massives avec MapReduce. Nous ne prĂ©-traitons pas les donnĂ©es et adoptons une approche dynamique oĂč les agents reducers interagissent durant l'exĂ©cution. Nous proposons une rĂ©-allocation des tĂąches basĂ©e sur la nĂ©gociation pour parvenir Ă  faire dĂ©croitre la charge de travail du plus chargĂ© des agents reducers et ainsi rĂ©duire le temps d'exĂ©cution

    XML Security Views Revisited

    Get PDF
    International audienceIn this paper, we revisit the view based security framework for XML without imposing any of the previously considered restrictions on the class of queries, the class of DTDs, and the type of annotations used to dene the view. First, we show that the full class of Regular XPath queries is closed under query rewriting. Next, we address the problem of constructing a DTD that describes the view schema, which in general needs not be regular. We propose three dierent methods of ap- proximating the view schema and we show that the produced DTDs are indistinguishable from the exact schema (with queries from a class speci c for each method). Finally, we investigate problems of static analysis of security access specications

    Static analysis of XML security views and query rewriting

    Get PDF
    International audienceIn this paper, we revisit the view based security framework for XML without imposing any of the previously considered restrictions on the class of queries, the class of DTDs, and the type of annotations used to define the view. First, we study {\em query rewriting} with views when the classes used to define queries and views are Regular XPath and MSO. Next, we investigate problems of {\em static analysis} of security access specifications (SAS): we introduce the novel class of \emph{interval-bounded} SAS and we define three different manners to compare views (i.e. queries), with a security point of view. We provide a systematic study of the complexity for deciding these three comparisons, when the depth of the XML documents is bounded, when the document may have an arbitrary depth but the queries defining the views are restricted to guarantee the interval-bounded property, and in the general setting without restriction on queries and document

    A Location-Aware Strategy for Agents Negotiating Load-balancing

    Get PDF
    International audienceWe study a novel location-aware strategy for distributed systems where cooperating agents perform the load-balancing. The strategy allows agents to identify opportunities within a current unbalanced allocation , which in turn triggers concurrent and one-to-many negotiations amongst agents to locally reallocate some tasks. The tasks are reallocated according to the proximity of the resources and they are performed in accordance with the capabilities of the nodes in which agents are situated. This dynamic and ongoing negotiation process takes place concurrently with the task execution and so the task allocation process is adaptive to disruptions (task consumption, slowing down nodes). We evaluate the strategy in a multi-agent deployment of the MapReduce design pattern for processing large datasets. Empirical results demonstrate that our strategy significantly improves the overall runtime of the data processing

    Stratégie situationnelle pour l'équilibrage de charge

    Get PDF
    National audienceWe study a novel location-aware strategy for distributed systems where cooperating agents perform the load-balancing. The strategy allows agents to identify opportunities within a current unbalanced allocation, which in turn triggers concurrent and one-to-many negotiations amongst agents to locally reallocate some tasks. The tasks are reallocated according to the proximity of the resources and they are performed in accordance with the capabilities of the nodes in which agents are situated. This dynamic and ongoing negotiation process takes place concurrently with the task execution and so the task allocation process is adaptive to disruptions (task consumption, slowing down nodes). We evaluate the strategy in a multi-agent deployment of the MapReduce design pattern for processing large datasets. Empirical results demonstrate that our strategy significantly improves the overall runtime of the data processing.Nous Ă©tudions une stratĂ©gie qui tient compte de la localitĂ© des ressources pour Ă©quilibrer les charges dans un systĂšme distribuĂ©. Cette stratĂ©gie permet aux agents coopĂ©ratifs d'identifier une allocation non Ă©quilibrĂ©e, voire de dĂ©clencher des enchĂšres concurrentes pour rĂ©allouer localement certaines des tĂąches. Les tĂąches sont rĂ©allouĂ©es en tenant compte de l'accessibilitĂ© des ressources pour les agents ; elles sont exĂ©cutĂ©es conformĂ©ment aux capacitĂ©s des noeuds de calcul sur lesquels se trouvent les agents. Ce processus de nĂ©gociation dynamique et continu est concurrent Ă  l'exĂ©cution des tĂąches, ce qui permet d'adapter l'allocation des tĂąches aux perturbations (exĂ©cution de tĂąche, chute de performance d'un nƓud). Nous Ă©valuons cette stratĂ©gie dans le cadre du dĂ©ploiement multi-agents de MapReduce. Ce patron de conception permet le traitement distribuĂ© de donnĂ©es massives. Les rĂ©sultats empiriques dĂ©montrent que notre stratĂ©gie amĂ©liore significativement le temps d'exĂ©cution du traitement d'un jeu de donnĂ©es

    View update translation for XML

    Get PDF
    We study the problem of update translation for views on XML documents. More precisely, given an XML view definition and a user defined view update program, find a source update program that translates the view update without side effects on the view. Additionally, we require the translation to be defined on all possible source documents; this corresponds to HegnerĂą\u80\u99s notion of uniform translation. The existence of such translation would allow to update XML views without the need of materialization. The class of views we consider can remove parts of the document and rename nodes. Our update programs define the simultaneous application of a collection of atomic update operations among insertion/deletion of a subtree and node renaming. Such update programs are compatible with the XQuery Update Facility (XQUF) snapshot semantics. Both views and update programs are represented by recognizable tree languages. We present as a proof of concept a small fragment of XQUF that can be expressed by our update programs, thus allows for update propagation. Two settings for the update problem are studied: without source constraints, where all source updates are allowed, and with source constraints, where there is a restricted set of authorized source updates. Using tree automata techniques, we establish that without constraints, all view updates are uniformly translatable and the translation is tractable. In presence of constraints, not all view updates are uniformly translatable. However, we introduce a reasonable restriction on update programs for which uniform translation with constraints becomes possible
    • 

    corecore